﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace Framework.Define
{
    public class FrameworkDefine
    {
        #region 路径相关
        /// <summary>GlobalGameObject路径</summary>
        public static string GlobalGameObjectPath { get { return "GlobalGameObject"; } }

        /// <summary>AudioRoot路径</summary>
        public static string AudioRootPath { get { return "GlobalGameObject/AudioRoot"; } }

        /// <summary>ManagerRoot路径</summary>
        public static string ManagerRootPath { get { return "GlobalGameObject/ManagerRoot"; } }

        /// <summary>CanvasRoot路径</summary>
        public static string UICanvasRootPath { get { return "GlobalGameObject/UIRoot/CanvasRoot"; } }

        /// <summary>SceneRoot路径</summary>
        public static string SceneRootPath { get { return "SceneRoot"; } }

        #endregion

        #region 目录路径相关
        /// <summary>UIComponent根目录路径</summary>
        public static string UIComponentRootDirectoryPath { get { return "Framework/FrameworkResources/Prefabs/UI"; } }
        /// <summary>UI根目录路径</summary>
        public static string UIRootDirectoryPath { get { return "Game/GameResources/UIs"; } }

        /// <summary>Api根目录路径</summary>
        public static string ApiRootDirectoryPath { get { return "Game/GameResources/Datas/Apis"; } }
        /// <summary>Config根目录路径</summary>
        public static string ConfigRootDirectoryPath { get { return "Game/GameResources/Datas/Configs"; } }
        #endregion

        #region 事件相关
        /// <summary>Http事件</summary>
        public static string OnEventHttp { get { return "OnEventHttp"; } }
        #endregion

        #region PlayerPrefs Key
        /// <summary>SpriteAtlasEditor获取Texture根目录</summary>
        public static string TextureFloderRootPathKey { get { return "TextureFloderRootPathKey"; } }
        /// <summary>SpriteAtlasEditor获取Atlas根目录</summary>
        public static string AtlasFloderRootPathKey { get { return "AtlasFloderRootPathKey"; } }

        /// <summary>Api生成路径</summary>
        public static string ApiGenerateFolderPathKey { get { return "ApiGenerateFolderPathKey"; } }
        /// <summary>配置生成路径</summary>
        public static string ConfigGenerateFolderPathKey { get { return "ConfigGenerateFolderPathKey"; } }
        #endregion
    }

    public enum CanvasType
    {
        BaseCanvas,
        NormalCanvas,
        PopCanvas,
    }
}